<!-- 定义 template只能有一个根标签-->
<template>
    <div>
    <home-header></home-header>
    <home-swiper></home-swiper>
    <div>test</div>
    </div>

</template>

<script>
//引入了局部组件
import HomeHeader from './components/Header'
import HomeSwiper from './components/Swiper'
export default{
    name:'Home',
    components:{
    	HomeHeader,
    	HomeSwiper
    }
}
</script>

<style>

</style>